﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HelloCS
{
    internal class Program
    {
        static void Main(string[] args)
        {
            Solution solution = new Solution();
            ListNode 
        }
    }
}
public class ListNode
{
    public int val;
    public ListNode next;
    public ListNode(int val = 0, ListNode next = null)
    {
        this.val = val;
        this.next = next;
    }
}

public class Solution
{
    public ListNode AddTwoNumbers(ListNode l1, ListNode l2)
    {
        ListNode l3;
        int temp1 = 1;
        int temp2 = 1;
        int num1 = 0;
        while (l1.next != null)
        {
            num1 += l1.val * temp1;
            temp1 *= 10；
            l1.val = l1.next.val;
            l1 = l1.next;
        }
        print("l1 = ", num1);

        int num2 = 0;
        while (l2.next != null)
        {
            num2 += l2.val * temp2
            temp2 *= 10；
            l2.val = l2.next.val;
            l2 = l2.next;
        }
        print("l2 = ", num2);

        int num3 = num1 + num2;
        while (num3 != 0)
        {
            int temp = max(temp1, temp2);

        }
    }
}